<template></template>
<script>
export default {
  name: "Refresh",
  beforeRouteEnter(to, from, next) {
    next(vm => {
      if (vm.$cookies.get("signature")) {
        vm.$router.replace("/Home/Index");
      }else{
          vm.$router.replace("/Login");
      }
    });
  }
};
</script>